package service;

import domain.EntityPerson;
import domain.VirtualFile;
import domain.VirtualUser;

import java.util.ArrayList;

public interface UserService {


    String getPsword(String username);

    boolean haveUser(String username);

    boolean haveEmail(String email);

    void addUser(VirtualUser virtualUser);

    VirtualUser getByname(String username);

    VirtualUser getByuid(int uid);

    void resetUserInfo(int uid, String uname, String email);

    ArrayList<VirtualUser> getAllusers();

    void updateUser(VirtualUser user);

    void deleteUser(int uid);

    ArrayList<VirtualFile> getUploadHistoryByUid(int uid);
}
